package com.atguigu.yygh.client;

import com.atguigu.yygh.model.user.Patient;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhmwi
 * @Date 2021/7/22
 * @Dersciption
 */
@FeignClient("service-ucenter")
public interface PatientFeignClient {
    @ApiOperation("远程调用获取就诊人")
    @GetMapping("/api/user/patient/inner/get/{id}")
    public Patient getPatientOrder(@PathVariable("id") Long id);

}
